﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SGuildWarGuildInfo extends Object
    {
        public var guildId:SEntityId;
        public var name:String;
        public var star:Number;
        public var score:int;
        public var occupy:int;
        public var guildScore:int;

        public function SGuildWarGuildInfo()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.guildId.__write(param1);
            param1.writeString(this.name);
            param1.writeDouble(this.star);
            param1.writeInt(this.score);
            param1.writeInt(this.occupy);
            param1.writeInt(this.guildScore);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.guildId = new SEntityId();
            this.guildId.__read(param1);
            this.name = param1.readString();
            this.star = param1.readDouble();
            this.score = param1.readInt();
            this.occupy = param1.readInt();
            this.guildScore = param1.readInt();
            return;
        }// end function

    }
}
